| Total Complexity | 70 |
| Dependencies | 16 |
| Dependents | 3 |
| Total lines | 517 |
| Lines of code | 309 |
| Logical lines of code | 147 |
| Comment lines | 140 |
| Methods | 13 |
| Properties | 5 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| payment_fields() | 34 | 19 | 95 | |
| get_payment_fields_js_config() | 32 | 17 | 90 | |
| register_scripts_for_zero_order_total() | 62 | 7 | 12 | |
| should_upe_payment_method_show_save_option() | 65 | 6 | 9 | |
| get_config_for_payment_method() | 50 | 4 | 28 | |
| get_enabled_payment_method_config() | 60 | 4 | 13 | |
| register_scripts() | 57 | 3 | 18 | |
| maybe_load_checkout_scripts() | 72 | 3 | 5 | |
| get_all_payment_method_config() | 67 | 2 | 8 | |
| set_gateway() | 73 | 2 | 5 | |
| init_hooks() | 61 | 1 | 12 | |
| __construct() | 69 | 1 | 7 | |
| load_checkout_scripts() | 69 | 1 | 7 |